package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenFeedbackDao;
import com.ruoyi.project.men.domain.MenFeedbackDO;
import com.ruoyi.project.men.service.MenFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenFeedbackServiceImpl implements MenFeedbackService {
	@Autowired
	private MenFeedbackDao menFeedbackDao;
	
	@Override
	public MenFeedbackDO get(String id){
		return menFeedbackDao.get(id);
	}
	
	@Override
	public List<MenFeedbackDO> list(Map<String, Object> map){
		return menFeedbackDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menFeedbackDao.count(map);
	}
	
	@Override
	public int save(MenFeedbackDO menFeedback){
		return menFeedbackDao.save(menFeedback);
	}
	
	@Override
	public int update(MenFeedbackDO menFeedback){
		return menFeedbackDao.update(menFeedback);
	}
	
	@Override
	public int remove(String id){
		return menFeedbackDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menFeedbackDao.batchRemove(ids);
	}

    @Override
    public List<MenFeedbackDO> likeList(Map<String, Object> map){
        return menFeedbackDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menFeedbackDao.likeListCount(map);
    }
	
}
